#define _CRT_SECURE_NO_WARNINGS
#include"list.h"

void text1(list* p) {
	first_init(p);
	SeqListPushBack(p, 1);
	SeqListPushBack(p, 2);
	SeqListPushBack(p, 3);
	SeqListPushBack(p, 4);
	SeqListInsert(p,1,5);
	SeqListInsert(p, 6, 6);
	SeqListInsert(p, 1, 6);
	SeqListPrint(p);
	SeqListErase(p, 7);
	SeqListErase(p, 1);
	SeqListErase(p, 2);
	SeqListPrint(p);
	return;
}
int main() {
	list list1;
	text1(&list1);
	return 0;
}